/**
	Pulsar engine. Samples.
	Base hello word sample 1.

	Copyright (C) 2013-2014 Dmitry Dolgov

	This program is free software; you can redistribute it and/or modify it under the terms of the
	GNU General Public License as published by the Free Software Foundation; either version 2 of
	the License, or (at your option) any later version.

	This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
	without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
	See the GNU General Public License for more details.
*/

namespace sample
{

/*
	Base application class
	This class is required for applications with PL_ENTRY_POINT_INTERNAL mode
	In this case pulsar core provides internal entry point, user defined code must use int App::mainLoop() function
*/
class App : public pl::App
{
public:
	// ctor
	App() {}
	// dtor
	~App() {}

	// preliminary core initialization
	virtual void preInit(pl::StartupFunc& info);
	// application entry point
	virtual int mainLoop();

	static App app;
};

} // namespace sample

//
// End of file 'sample1.h'
//
